Skip to content

[CBC interface] Support setting CBC hints#5232

Open
comick wants to merge 1 commit into
google:mainfrom
comick:cbc-hint
Open

[CBC interface] Support setting CBC hints#5232
comick wants to merge 1 commit into
google:mainfrom
comick:cbc-hint

Conversation

@comick

@comick comick commented Jun 18, 2026

Copy link
Copy Markdown

Hi, the PR adds support for setting CBC hints and making use of them.

I could not find a test within ortools that measures hints impact consistently across solvers (that's implementation dependent and requires looking into either logs, comparing solver time or look into internal iterations and would take a considerable effort).
The included (java only) tests help verifying correctness of the solution when hints are provided.
This also covers other solvers whose implementations I did not touch. I could not find other tests covering hint/no-hint correctness comparisons.

I'd be happy to get some feedback and adjust the PR accordingly, please let me know what you think.

@comick
comick force-pushed the cbc-hint branch 2 times, most recently from 9712e85 to 870e6c7 Compare June 23, 2026 20:41
@comick

comick commented Jul 11, 2026

Copy link
Copy Markdown
Author

Hi there, do you think it is possible to take a look at this PR?
I'd be happy to get some feedback and adjust the PR accordingly, please let me know what you think.

@Mizux Mizux added Feature Request Missing Feature/Wrapper Lang: Java Java wrapper issue Solver: Linear Solver Related to all Linear Solver (GLOP, BOP, CBC etc...) Solver: CBC/CLP Issue specific to Coin-OR CBC/CLP labels Jul 15, 2026
@Mizux Mizux added this to the v10.0 Beta milestone Jul 15, 2026
@comick

comick commented Jul 15, 2026

Copy link
Copy Markdown
Author

Applied clang-format that made the previous workflow run fail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Request Missing Feature/Wrapper Lang: Java Java wrapper issue Solver: CBC/CLP Issue specific to Coin-OR CBC/CLP Solver: Linear Solver Related to all Linear Solver (GLOP, BOP, CBC etc...)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants